package com.usian.apis.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;

public interface AdChannelControllerApi {

    /**
     * 根据分页的条件查询频道列表  切返回不分页结果
     * @param dto
     * @return
     */
    public ResponseResult findByNameAndPage(ChannelDto dto);

    public ResponseResult save(AdChannel channel);

    public ResponseResult update(AdChannel adChannel);

    public ResponseResult deleteById(Integer id);

    public ResponseResult findAll();
}
